約 5,446,337 件
https://w.atwiki.jp/m_shige1979/pages/473.html
PHP 初期設定(xampp、eclipse、aptana) 共通ライブラリ Framework 拡張モジュール
https://w.atwiki.jp/m_shige1979/pages/1291.html
Baseコントローラー 概要 FuelPHPの基本となるコントローラーでクライアントからのリクエストに応じて処理を行う この処理を中心にモデルへのアクセスやビューへのアクセスを行う 定義 app/classes/controller/sample01.php ?php // サンプルコントローラー class Controller_Sample01 extends Controller { // アクションを省略時のデフォルトの画面 public function action_index() { //ビューを作成 $view = View forge( sample01/index ); // ビューに変数を割り当て $view- set( username , ほげほげ03 ); $view- set( title , サンプルテスト(ビュー3) ); // ビューをブラウザに出力 return $view; } } メソッド action_index コントローラーでアクションを指定しなかった場合に行われるデフォルトの動作を記述する before アクションを行う前に行う処理を記述 after($response) アクションを行う後に行う処理を記述 router($method, $params) 内部ルーティングを制御する処理を記述
https://w.atwiki.jp/ce00582/pages/2235.html
?php require("calldata.php"); $sql = "SELECT * FROM plan"; $result = mysql_query($sql, $link); while( $row = mysql_fetch_row( $result ) ){ $plan = $row[0]; } $sql = "SELECT * FROM policy"; $result = mysql_query($sql, $link); $n=1; while( $row = mysql_fetch_row( $result ) ){ $matrix[$n][1] = $row[0]; $matrix[$n][2] =$row[1]; $matrix[$n][3] =$row[2]; $matrix[$n][4] =$row[3]; $n=$n+1; } $maxn=$n; for ($n=1;$n $maxn;$n++){ $num=$matrix[$n][1]; $px1[$num]=$matrix[$n][2]; $px2[$num]=$matrix[$n][3]; $px3[$num]=$matrix[$n][4]; } $p = $px1[$plan]; $g = $px2[$plan]; $r= $px3[$plan]; $sql = "SELECT * FROM eli10"; $result = mysql_query($sql, $link); $n=1; while( $row = mysql_fetch_row( $result ) ){ $matrix[$n][1] = $row[0]; $matrix[$n][2] =$row[1]; $matrix[$n][3] =$row[2]; $matrix[$n][4] =$row[3]; $n=$n+1; } $maxn=$n; for ($n=1;$n $maxn;$n++){ $year=$matrix[$n][1]; $age=$matrix[$n][2]; $m2[$year][$age]=$matrix[$n][3]; $f2[$year][$age]=$matrix[$n][4]; } $sql = "SELECT * FROM data14"; $result = mysql_query($sql, $link); $n=1; while( $row = mysql_fetch_row( $result ) ){ $matrix[$n][1] = $row[0]; $matrix[$n][2] =$row[1]; $matrix[$n][3] =$row[2]; $n=$n+1; } $maxn=$n; for ($n=1;$n $maxn;$n++){ $age=$matrix[$n][1]; $mw[$age]=$matrix[$n][2]; $fw[$age]=$matrix[$n][3]; } $sql = "SELECT * FROM eli57"; $result = mysql_query($sql, $link); $n=1; while( $row = mysql_fetch_row( $result ) ){ $matrix[$n][1] = $row[0]; $matrix[$n][2] =$row[1]; $n=$n+1; } $maxn=$n; for ($n=1;$n $maxn;$n++){ $year=$matrix[$n][1]; $rate[$year]=$matrix[$n][2]; } for ($age=15; $age 70; $age++) { $mwage[10][$age]=$mw[$age]; $fwage[10][$age]=$fw[$age]; } for ($year=11; $year 100;$year++) { for ($age=15; $age 70; $age++) { $mwage[$year][$age]=(1+$g)*$mwage[$year-1][$age]; $fwage[$year][$age]=(1+$g)*$fwage[$year-1][$age]; } } for ($year=10; $year 100;$year++) { $re=0; for ($age=15; $age 70; $age++) { $re=$re+320*$mwage[$year][$age]*$m2[$year][$age]; $re=$re+280*$fwage[$year][$age]*$f2[$year][$age]; } $rev[$year]=0.01*$rate[$year]*$re/10000; } $sql = "truncate eli14"; $exe= mysql_query($sql,$link); for ($year=10;$year 100;$year++){ $x=$rev[$year]; $sql = "insert into eli14 values($year,$x)"; $exe= mysql_query($sql,$link); } $close_flag = mysql_close($link); print("14 支払保険料 計算終了"); ?
https://w.atwiki.jp/dragonkiller/pages/345.html
メモ オンボードの性能【評価1.0】DVD再生ウィンドウで視聴可能、フルスクリーンではチラツキあり You Tube再生ウィンドウで視聴可能、フルスクリーンではチラツキあり 買い時次の世代まで待つ 今の世代の買う 前の世代を中古で探す クラスローエンド:4千円~ ミドルレンジ:2万前後、2スロット ハイエンド:、2スロット、性能大、電力大 1スロット仕様のミドルレンジ参考品RADEON 6850 http //www.amd.com/jp/products/desktop/graphics/amd-radeon-hd-6000/hd-6850/Pages/amd-radeon-hd-6850-overview.aspxAFOX AF6850-1024D5S1(Radeon HD6850搭載 1スロットモデル)http //www.afox-corp.com/en/products_details.asp?proid=101 RADEON 7750 http //www.amd.com/jp/products/desktop/graphics/7000/7750/Pages/radeon-7750.aspx玄人志向 グラフィックボード Radeon HD7750 1GB DDR3 PCI-E RH7750-E1GHD/D3/A(廉価版)http //kuroutoshikou.com/modules/display/?iid=1707 玄人志向 グラフィックボード Radeon HD7750 1GB PCI-E RH7750-E1GHD/Ahttp //www.kuroutoshikou.com/modules/display/?iid=1657 RH7750-LE1GHD/1ST(1スロットファン&ロープロファイル対応HD7750)http //kuroutoshikou.com/modules/display/?iid=1693 VTX3D Radeon HD7750 PCI-E 1GB VX7750 1GBD5-DHhttp //www.mustardseed.co.jp/products/vtx3d/vga/vx7750_1gbd5-dh.html PowerColor AMD Radeon HD7750 GPU搭載ビデオカード AX7750 1GBD5-DHEhttp //www.powercolor.com/Global/products_features.asp?id=393 http //www.aiuto-jp.co.jp/product/powercolor/vga/amdpcie/ax7750_1gbd5-dhe.php Club 3D CGAX-7752 UEFIhttp //www.club-3d.com/index.php/products/reader.en/product/radeon-hd-7750.html Club 3D CGAX-7752L UEFI カスタマイズ コメント、動作報告 HP ProLiant ML110G7ガイド/ビデオカード/ログ 名前 http //www.elsa-jp.co.jp/products/products-top/graphicsboard/geforce/midrange/gtx-1650-sp/ - ELSA GeForce GTX 1650 SP (2020-06-06 16 47 15) NVIDIA Quadro K420 2GB http //www.elsa-jp.co.jp/products/products-top/graphicsboard_pro/quadro/entry_2/quadro_k420_2gb/ - Gifu21 (2020-05-23 11 16 31) Geforce GTX 1650 https //www.zotac.com/jp/product/graphics_card/zotac-gaming-geforce-gtx-1650-oc - wakameziro (2020-05-09 09 21 54)
https://w.atwiki.jp/mynote/pages/51.html
http //www.lavender.org/~mouri/pukiwiki/index.php?%B4%EB%B6%C8%A4%CE%CF%C0%CA%B8%BB%EF
https://w.atwiki.jp/nicepaper/pages/221.html
PHPでオブジェクト指向入門1~クラスの定義~では、定義の仕方を覚えました。今度はそのクラスに対して色々と命令をして、最後にそれを出力してみます。9月16日記事 目次 プロパティ コード 説明 インスタンス化(index.phpの方) アロー演算子(index.phpの方) アクセス修飾子を付ける(Sports.phpの方) まとめ プロパティ クラスの中で定義された変数のことを言います。 プロパティまたはメンバ変数 と呼ばれることがあります。今度はそのプロパティを定義して、最後に実行させます。 コード classを定義したファイル(Sports.phpの方) ?php class Sports{ public $event;//種目など public $type;//観戦かやる方かなど } ユーザ定義関数では一つの命令に対して、返ってくるのに対し、クラスでは二つの命令を行って返ってきています。 呼び出す方(index.phpの方) ?php require_once ( ../class/Sports.php ); $s = new Sports(); $s- event = ラグビー ; $s- type = 観戦する ; print 私は .$s- event. に対して .$s- type. 方が好きです ; 説明 インスタンス化(index.phpの方) クラスを使えるようにするためには、ファイルを読み込むことと、実際にそのクラスを利用すよう呼び出すことが必要です。使えるようにすることをインスタンス化といいます。new Sports()がそのことです。 インスタンスは、実体と訳されますが、Sportsという実体をとってきましたよ。あとはそれを使って色々命令していきましょう(グルグル回す)とよく言われる。 アロー演算子(index.phpの方) $s- eventの- は何を意味するのでしょうか。予想するに、$eventというプロパティ(メンバ変数)を呼び出していそうことですが、まったくその通りです。- は呼び出しますよという意味で覚えておいてください。 $を付けないこと重要です。 アクセス修飾子を付ける(Sports.phpの方) アクセス装飾子はその変数をどこから使えるようにするかを決めるキーワードです。「public」「private」「protected」のどれかを指定します。 まとめ クラスのファイルに対してプロパティ(メンバ変数)をセットし、それを呼び出していきました。今度は手続き型でいう関数のようなもの(オブジェクト指向ではメソッドと呼ばれる)をPHPでオブジェクト指向入門3~メソッド~で作っていきたいと思います。
https://w.atwiki.jp/momonga/pages/4.html
PHP開発環境について(考察) エディタ ■スタンドアロン ①PHP editer フリーの日本語のPHPエディター 軽いのでちょっとしたスクリプトを書くのには便利。 統合的な開発環境を提供するバージョンと、PHPファイルを一枚一枚編集できるバージョンがある。 ■Eclipse Plug-ins ①WEB STUDIO 人気があるプラグイン ②PHPeclipsw 標準的なEclipsのPHPプラグイン ③KOEBI STUDIO Eclipse 3.0をベースにしたPHP統合開発パッケージ。FTP接続ソフトもパッケージされているのでいいかも?フリー。 ⇒どれを使うか? 取りあえずは・・・ 小エビを使ってみる予定。 ワークフレーム ①Ethna? ②mojavi ③symfony 開発で楽できるみたいだけど取りあえずワークフレームはパス。
https://w.atwiki.jp/natsutan/pages/20.html
概要 アプリケーションに特化した初期化を行う。 ソースwin/winMain.c 引数 Tcl_Interp *interp TCLインタープリターへのポインター 戻り値 処理 Tcl_Initを呼び出してTCL_ERRORが返ってくればerror へジャンプして終了 if (Tcl_Init(interp) == TCL_ERROR) { goto error; } Tk_Initを呼び出してTCL_ERRORが返ってくればerror へジャンプして終了 if (Tk_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit); /* * Initialize the console only if we are running as an interactive * application. */ if (consoleRequired) { if (Tk_CreateConsoleWindow(interp) == TCL_ERROR) { goto error; } } #if defined(STATIC_BUILD) TCL_USE_STATIC_PACKAGES if (Registry_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "registry", Registry_Init, NULL); if (Dde_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "dde", Dde_Init, NULL); #endif #ifdef TK_TEST if (Tktest_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "Tktest", Tktest_Init, NULL); #endif /* TK_TEST */ /* * Call the init procedures for included packages. Each call should look * like this * * if (Mod_Init(interp) == TCL_ERROR) { * return TCL_ERROR; * } * * where "Mod" is the name of the module. (Dynamically-loadable packages * should have the same entry-point name.) */ /* * Call Tcl_CreateCommand for application-specific commands, if they * weren t already created by the init procedures called above. */ /* * Specify a user-specific startup file to invoke if the application is * run interactively. Typically the startup file is "~/.apprc" where "app" * is the name of the application. If this line is deleted then no user- * specific startup file will be run under any conditions. */ Tcl_SetVar(interp, "tcl_rcFileName", "~/wishrc.tcl", TCL_GLOBAL_ONLY); return TCL_OK; error MultiByteToWideChar(CP_UTF8, 0, Tcl_GetStringResult(interp), -1, msgString, TK_MAX_WARN_LEN); /* * Truncate MessageBox string if it is too long to not overflow the screen * and cause possible oversized window error. */ memcpy(msgString + TK_MAX_WARN_LEN, L" ...", 5 * sizeof(WCHAR)); MessageBeep(MB_ICONEXCLAMATION); MessageBoxW(NULL, msgString, L"Error in Wish", MB_ICONSTOP | MB_OK | MB_TASKMODAL | MB_SETFOREGROUND); ExitProcess(1); /* * We won t reach this, but we need the return. */ return TCL_ERROR; } ソース /* *---------------------------------------------------------------------- * * Tcl_AppInit -- * *This procedure performs application-specific initialization. Most *applications, especially those that incorporate additional packages, *will have their own version of this procedure. * * Results *Returns a standard Tcl completion code, and leaves an error message in *the interp s result if an error occurs. * * Side effects *Depends on the startup script. * *---------------------------------------------------------------------- */ int Tcl_AppInit( Tcl_Interp *interp)/* Interpreter for application. */ { #define TK_MAX_WARN_LEN 1024 WCHAR msgString[TK_MAX_WARN_LEN + 5]; if (Tcl_Init(interp) == TCL_ERROR) { goto error; } if (Tk_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "Tk", Tk_Init, Tk_SafeInit); /* * Initialize the console only if we are running as an interactive * application. */ if (consoleRequired) { if (Tk_CreateConsoleWindow(interp) == TCL_ERROR) { goto error; } } #if defined(STATIC_BUILD) TCL_USE_STATIC_PACKAGES if (Registry_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "registry", Registry_Init, NULL); if (Dde_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "dde", Dde_Init, NULL); #endif #ifdef TK_TEST if (Tktest_Init(interp) == TCL_ERROR) { goto error; } Tcl_StaticPackage(interp, "Tktest", Tktest_Init, NULL); #endif /* TK_TEST */ /* * Call the init procedures for included packages. Each call should look * like this * * if (Mod_Init(interp) == TCL_ERROR) { * return TCL_ERROR; * } * * where "Mod" is the name of the module. (Dynamically-loadable packages * should have the same entry-point name.) */ /* * Call Tcl_CreateCommand for application-specific commands, if they * weren t already created by the init procedures called above. */ /* * Specify a user-specific startup file to invoke if the application is * run interactively. Typically the startup file is "~/.apprc" where "app" * is the name of the application. If this line is deleted then no user- * specific startup file will be run under any conditions. */ Tcl_SetVar(interp, "tcl_rcFileName", "~/wishrc.tcl", TCL_GLOBAL_ONLY); return TCL_OK; error MultiByteToWideChar(CP_UTF8, 0, Tcl_GetStringResult(interp), -1, msgString, TK_MAX_WARN_LEN); /* * Truncate MessageBox string if it is too long to not overflow the screen * and cause possible oversized window error. */ memcpy(msgString + TK_MAX_WARN_LEN, L" ...", 5 * sizeof(WCHAR)); MessageBeep(MB_ICONEXCLAMATION); MessageBoxW(NULL, msgString, L"Error in Wish", MB_ICONSTOP | MB_OK | MB_TASKMODAL | MB_SETFOREGROUND); ExitProcess(1); /* * We won t reach this, but we need the return. */ return TCL_ERROR; }
https://w.atwiki.jp/329164/pages/1.html
@@@@ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ (゜д゜@ < 現在作成中!用のない人はそこどいて!ひき殺すわよ! ┳⊂ ) \____________ [[[[|凵ノ⊃ ◎U□◎ =3 キコキコキコ
https://w.atwiki.jp/shousei/
青雲バトロワ(仮称)まとめサイト 辞書みたいな感じで。 キャラ・出来事何でも可。